// 导入封装好的网络请求类工具
import request from '../../../../../utils/request';

//条件查询
export const FindSpacerfluidRealByCondition = (searchModel) =>{
    return request ({
        url : '/spacerfluidReal/findSpacerfluidRealByCondition',
        method :'post',
        data: searchModel
    })
}

//添加新增

export const AddSpacerfluidReal = (form) =>{
    return request({
        url: '/spacerfluidReal/spacerfluidRealAdd',
        method:'post',
        data:form
    })
}

//保存编辑
export const EditSpacerfluidReal = (form) => {
    return request({
        url: '/spacerfluidReal/spacerfluidRealUpdate',
        method: 'put',
        data: form
    })
}
//删除
export const DeleteSpacerfluidReal = (id) => {
    return request({
         url: `/spacerfluidReal/spacerfluidRealDelete/${id}`,
        method: 'delete'
    })
}